/* -*-c++-*- */
/* osgGIS - GIS Library for OpenSceneGraph
 * Copyright 2007-2008 Glenn Waldron and Pelican Ventures, Inc.
 * http://osggis.org
 *
 * osgGIS is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 */

#ifndef _OSGGISPROJECTS_EXPORT_H_
#define _OSGGISPROJECTS_EXPORT_H_ 1

// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the OSGGIS_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// OSGGIS_API functions as being imported from a DLL, whereas this DLL sees symbols
// defined with this macro as being exported.
//#ifdef OSGGISPROJECTS_EXPORTS
//#define OSGGISPROJECTS_EXPORT __declspec(dllexport)
//#else
//#define OSGGISPROJECTS_EXPORT __declspec(dllimport)
//#endif

#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
    #  if defined( OSGGISPROJECTS_EXPORTS_STATIC )
    #    define OSGGISPROJECTS_EXPORT
    #  elif defined( OSGGISPROJECTS_EXPORTS )
    #    define OSGGISPROJECTS_EXPORT   __declspec(dllexport)
    #  else
    #    define OSGGISPROJECTS_EXPORT   __declspec(dllimport)
    #  endif
#else
    #  define OSGGISPROJECTS_EXPORT
#endif

#endif // _OSGGISPROJECTS_EXPORT_H_

